package com.hcj.admin.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.hcj.admin.entity.TUser;
import com.hcj.admin.mapper.TUserMapper;
import com.hcj.admin.service.ITUserService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author HuangChangjin
 * @since 2017-10-23
 */
@Service
public class TUserServiceImpl extends ServiceImpl<TUserMapper, TUser> implements ITUserService {

    @Override
    public TUser getByUserName(String userName) {
        return baseMapper.getByUserName(userName);
    }
}
